package com.piece.blog.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@ApiModel(value = "培训课时模型")
public class TrainingHourDTO implements Serializable {

    @ApiModelProperty(value = "课程ID")
    private Long courseId;

    @ApiModelProperty(value = "章节ID")
    private Long chapterId;

    @ApiModelProperty(value = "课时ID")
    private Long hourId;

    @ApiModelProperty(value = "资源ID")
    private Long resourceId;

    @ApiModelProperty(value = "课时名")
    private String title;

    @ApiModelProperty(value = "课时类型")
    private String type;

    @ApiModelProperty(value = "时长[s]")
    private Long duration;

    @ApiModelProperty(value = "排序")
    private Long sort;
}
